package com.base.commons.tools.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author zhanwang
 */
@Configuration
public class AppConfig {

    /**
     * 系统编码
     */
    public static String systemCode;

    @Value("${app.system-code:02}")
    public void setSystemCode(String systemCode) {
        AppConfig.systemCode = systemCode;
    }
}
